package com.changgou.business.listener;

import okhttp3.OkHttpClient;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class AdListener {

    @RabbitListener(queues = "ad_update_queue")
    public void receivMessage(String message){
        System.out.println("接收的数据："+message);
        OkHttpClient okHttpClient = new OkHttpClient();
    }
}
